from django.contrib import admin
from django.urls import path, include
from django.contrib.auth.views import LoginView
from django.conf import settings
from django.conf.urls.static import static

urlpatterns = [
    path('', include('myapp.urls')),
    path('shop/', include('shop.urls')),
    path('login/', LoginView.as_view(template_name='login.html', redirect_authenticated_user=True, success_url='/index.html'), name='login'),
    path('admin/', admin.site.urls),
    path('doc_manager/', include('doc_manager.urls')),
    path('myapp/', include('myapp.urls')),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
